#include "Helix.h"
#include "Input.h"

namespace helix
{

	Input::Input()
	{
		textBuffer=new unsigned char[INITIAL_CAPACITY];
		bufferLength=0;
		bufferCapacity=INITIAL_CAPACITY;
	}

	Input::Input(int bufferSize)
	{
		if(bufferSize<=0)
			bufferSize=1;
		textBuffer=new unsigned char[bufferSize];
		bufferLength=0;
		bufferCapacity=bufferSize;
	}

	Input::~Input()
	{
		delete[] textBuffer;
	}

}